<!DOCTYPE html>
<html lang="en">
<head>
   <include file="Public:header" />
    <title></title>
</head>
<body>
	  <header class="header">
		<h1><{$title}></h1>
		<a  onclick="window.history.back(-1);" ><img src="__LHGImages__/iconfont-zuojiantou.png"></a>
		
		<a href="#this" onClick="send_invite()" style="width:80px; color:#FFFFFF; font-weight:bold">确定</a>
		
	</header>
	<div id="dialog1"></div>
	<div id="bg"></div>
	<div id="dialog"></div>
    <div class="mb50 mt50">
    	<div>
    		 
			<div class="py-cj4" id="friendList">
			<if condition="$friendList">
    			<volist name="friendList"  id="vo" empty="$nodata" >
				<dl >
    				<dt id="<{$key}>"><{$key}></dt>
					<volist name="vo"  id="vo1">
    				<dd><i class="xuanz py-cj17" user_id="<{$vo1['user_id']}>" data-dx ="0"><em></em></i><img src="<{$vo1.headimg}>" alt="<{$vo1['nickname']}>" /><span><{$vo1['nickname']}></span></dd>
    				 </volist> 
    			</dl>
    			</volist> 
			<else />	
				<div style="padding:20px; text-align:center">您暂时无好友，<a style="color:blue" href="/User/friend_add">去找新朋友</a></div>
				</if>
    		</div>
    	</div>
    	 <div class="py-cj5">     
		<volist name="charactors" key="keyf" id="vo">                    
    		<a href="#<{$vo}>"><{$vo}></a>
        </volist> 
    	</div>
    </div>
	 <include file="Public:footer" />
	 <form id="act_blance" method="post" action="<{:U('User/act_blance')}>">
	 <volist name="part_info" id="vo">
					 
					<input type="hidden" name="order[<{$vo.id}>][<{$vo.starttime}>][part_id]" value="<{$vo.id}>">
					<input type="hidden" name="order[<{$vo.id}>][<{$vo.starttime}>][starttime]" value="<{$vo.starttime}>">
					<input type="hidden" name="order[<{$vo.id}>][<{$vo.starttime}>][endtime]" value="<{$vo.endtime}>">
					 
					<input type="hidden" name="type" value="<{$type}>">
					<input type="hidden" name="day" value="<{$day}>">
					<input type="hidden" name="store_id" value="<{$store_id}>">
					<input type="hidden" name="payment_id" value="<{$payment_id}>">
            			</volist>  
						<input type="hidden" name="user_ids" id="user_ids">
	 </form>
	 <script>
	   function send_invite(){
	    var checkedList = new Array();
		$("#friendList .cur").each(function(i,v){
		  checkedList.push($(this).attr("user_id"));
		})
		$("#user_ids").val(checkedList);
		$("#act_blance").submit();
	   }
	 
	 </script>
</body>
</html>